<div class="modal fade" id="add-admin-dialog" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
	<div class="modal-dialog">
		<div class="modal-content">
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
					&times;
				</button>
				<h4 class="modal-title" id="myModalLabel">
					添加新用户
				</h4>
			</div>
			<div class="modal-body">
				 <form class="bs-example bs-example-form form-horizontal" role="form">
			       <div class="form-group">
			       		<div class="col-sm-1"></div>
						<label for="firstname" class="col-sm-2 control-label"><font class="tip-red">*</font>登陆账号</label>
						<div class="col-sm-8">
							<input type="text" class="form-control" id="aAccount" placeholder="登录系统的账号，可使用手机号码或者字母" maxlength="20">
							<span id="aAccountSpan" class="tip-red"></span>
						</div>
						<div class="col-sm-1"></div>
					</div>
					<div class="form-group">
						<div class="col-sm-1"></div>
						<label for="firstname" class="col-sm-2 control-label"><font class="tip-red">*</font>登录密码</label>
						<div class="col-sm-8">
							<input type="text" class="form-control" id="aPwd" placeholder="登录系统的密码" maxlength="45">
							<span id="aPwdSpan" class="tip-red"></span>
						</div>
						<div class="col-sm-1"></div>
					</div>
					<div class="form-group">
						<div class="col-sm-1"></div>
						<label for="firstname" class="col-sm-2 control-label">昵称</label>
						<div class="col-sm-8">
							<input type="text" class="form-control" id="aNicheng" placeholder="昵称" maxlength="20">
						</div>
						<div class="col-sm-1"></div>
					</div>
					<div class="form-group">
						<div class="col-sm-1"></div>
						<label for="firstname" class="col-sm-2 control-label">头像</label>
						<div class="col-sm-8">
							<input type="file" id="aHeadImg" name="aHeadImg" placeholder="头像"/>
						</div>
						<div class="col-sm-1"></div>
					</div>
					<div class="form-group">
						<div class="col-sm-1"></div>
						<label for="firstname" class="col-sm-2 control-label">角色</label>
						<div class="col-sm-8">
							<select id="aRoleId" class="form-control">
								<#list roles as role>
									<option value="${role.rId!}">${role.rName!}</option>
								</#list>
							</select>
						</div>
						<div class="col-sm-1"></div>
					</div>
					<div class="form-group">
						<div class="col-sm-1"></div>
						<label for="firstname" class="col-sm-2 control-label">电子邮件</label>
						<div class="col-sm-8">
							<input type="text" class="form-control" id="aEmail" placeholder="电子邮件地址" maxlength="50">
						</div>
						<div class="col-sm-1"></div>
					</div>
					<div class="form-group">
						<div class="col-sm-1"></div>
						<label for="firstname" class="col-sm-2 control-label">状态</label>
						<div class="col-sm-8">
							<label class="radio-inline">
								<input type="radio" name="aStatus" value="1" checked>正常
							</label>
							<label class="radio-inline">
								<input type="radio" name="aStatus" value="0">停用
							</label>
						</div>
						<div class="col-sm-1"></div>
					</div>
					<div class="form-group">
						<div class="col-sm-1"></div>
						<label for="firstname" class="col-sm-2 control-label">备注</label>
						<div class="col-sm-8">
							<textarea rows="3" maxlength="200" class="form-control" id="aRemark" placeholder="备注" ></textarea>
						</div>
						<div class="col-sm-1"></div>
					</div>
			    </form>
			</div>
			<div class="modal-footer">
				<button type="button" class="btn btn-primary" id="save-button" onclick="Admin.addAdmin()">
					保存
				</button>
				<button type="button" class="btn btn-default" data-dismiss="modal">
					关闭
				</button>
			</div>
		</div><!-- /.modal-content -->
	</div><!-- /.modal -->
</div>
